package com.briup.cms.web.controller;


import com.briup.cms.bean.User;
import com.briup.cms.util.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author briup
 * @since 2023-03-10
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @PostMapping("/saveOrUpdate")
    public Result saveOrUpdate(@RequestBody User user) {
        System.out.println("in saveOrUpdate ...");

        return Result.success();
    }


}

